Skip to content

feat(settings): company settings — legal organization identity (P0)#2010

Merged
os-zhuang merged 1 commit into
mainfrom
feat/company-settings-p0
Jun 17, 2026
Merged

feat(settings): company settings — legal organization identity (P0)#2010
os-zhuang merged 1 commit into
mainfrom
feat/company-settings-p0

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

P0 base-settings, item 2 of 3. Adds a company SettingsManifest for the workspace's legal entity identity — distinct from branding (public-facing name/logo/theme).

Keys (organization-level, all optional for v1)

Grouped Identity / Registered address / Contact:

  • Identity: legal_name, registration_number, tax_id
  • Address: address_line1, address_line2, city, state, postal_code, country
  • Contact: phone, website (url), primary_contact_name, primary_contact_email (email)

Benchmarked against Salesforce "Company Information" and Stripe's business profile.

Why

Feeds invoices/receipts, email footers (CAN-SPAM requires a physical postal address), contracts, and compliance exports — the legal-entity data a platform needs but ObjectStack had nowhere to store.

Tests

  • company.manifest.test.ts — schema parse, namespace/scope/version, group structure, url/email/country-pattern specifier types, all-optional invariant.
  • Ships en + zh-CN translations.
  • service-settings suite green (123). DTS build clean.

P0 progress

  1. localization (feat(settings): localization settings — platform timezone/language/formats (ADR-0053 Phase 2) (#1928) #2006, merged). 2. this PR company. 3. ⬜ security (next).

🤖 Generated with Claude Code

Adds a `company` SettingsManifest for the workspace's legal entity (distinct
from `branding`'s public name/logo). Org-level (tenant scope), all keys
optional for v1. Grouped Identity / Registered address / Contact:
legal_name, registration_number, tax_id, address_line1/2, city, state,
postal_code, country, phone, website, primary_contact_name/email.

Benchmarked vs Salesforce "Company Information" + Stripe business profile.
Feeds invoices, email footers (CAN-SPAM physical address), contracts,
compliance exports. en + zh-CN translations + manifest test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 17, 2026 5:53am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/m labels Jun 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): packages/services.

5 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/guides/packages.mdx (via packages/services)
  • content/docs/guides/runtime-services/audit-service.mdx (via packages/services)
  • content/docs/guides/runtime-services/index.mdx (via packages/services)
  • content/docs/guides/runtime-services/settings-service.mdx (via packages/services)
  • content/docs/protocol/objectos/i18n-standard.mdx (via packages/services)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@os-zhuang
os-zhuang merged commit 8e5a3b5 into main Jun 17, 2026
13 of 14 checks passed
@os-zhuang
os-zhuang deleted the feat/company-settings-p0 branch June 17, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant